//
//  CommandeFire.m
//  Metronome
//
//  Created by Thomas Dupont on 01/10/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import "CommandeFire.h"


@implementation CommandeFire
@synthesize moteur;

-(id)init
{
	if(self = [super init]) {
		name = @"CommandFire";
	}
	return self;
}

- (void)dealloc
{
	[super dealloc];
}
- (id)copyWithZone:(NSZone *)zone
{
	CommandeFire* copy = [[[self class] allocWithZone: zone] init];
	[copy setMoteur:[self moteur]];
    return copy;
}

- (void)execute
{
	[moteur fire];
}

- (NSString*)getName
{
	return name;
}

- (void)setName:(NSString*)theName
{
	name = theName;
}

@end
